<template>
  <div class="scroll-warp">
    <div class="member-index">
          <h4>{{$t('member.Telephone')}}</h4>

          <!-- 联系电话 -->
          <!-- <van-cell-group>
            <van-field v-model="formCustom.mobilePhone" placeholder="请输入用户名" />
          </van-cell-group> -->
         
    </div>
  </div>
</template>

<script>
import mixins from '~/mixins/mixins'

export default {
   mixins: [mixins],
    head() {
      return { 
        title: this.$t('member.Title.Member')
      }
  },
  data () {
    return {
      formCustom:{
          uid:null,
          mobilePhone:'', //联系电话
          countryCode:'86', //国家码
          verificationCode:'', // 验证码
          locationCode:'',//地址
          name:'', //真实姓名
          gender:'',   //性别
          birthday:'',  //生日
          danceAge:'', //舞龄
          occupation:'', //职业
          objective:'', //学习目的
          danceType:'', //舞种
          fromSource:'', //来源渠道
          faceImage:'',// 是否绑定人脸
          consultantId:'' //顾问ID
        },
    }
  },
   mounted(){
     this.jsBridge.registerHandler('session_status_changed',(res) => {
        const ress = JSON.parse(res);
      
        cookie.setCookie('accessToken',ress.accessToken)
        cookie.setCookie('userId',ress.userId)
        cookie.setCookie('id',ress.id)
      })
   }
}
</script>
